/*
 * @Author: Automator
 * @Date: 2018-05-22 18:19:08
 * @description: 
*/

 const  api = {

     /*
     * 方法描述:根据事件id、业务分类获取操作记录信息,请求方式:GET 参数:MessageSearchDto,返回值:JsonResult<PageResult<MessageOperateVo>>,是否可用:ok
     * @param pageParam.pageIndex    Required:[false]  Type:[integer]  Location:[query]
     * @param pageParam.pageSize    Required:[false]  Type:[integer]  Location:[query]
     * @param businessId  业务ID  Required:[false]  Type:[integer]  Location:[query]
     * @param businessType  操作历史业务分类(1-工商、2-事件、3人物)  Required:[false]  Type:[integer]  Location:[query]
     */
    'getMessageOperate': {url: '/cms/v2/api/common/getMessageOperate', method: 'get'},

     /*
     * 方法描述:人物中的职务,请求方式:GET ,返回值:JsonResult<List<DutiesLevelVo>>,是否可用:ok
     * @param title  title  Required:[true]  Type:[string]  Location:[path]
     */
    'getDutiesLevel': {url: '/cms/v2/api/common/{title}/dutiesLevel', method: 'get'},

     /*
     * 方法描述:获取字典 ,请求方式:GET ,参数:无,返回值:JsonResult<DictionariesVo> 返回参数描述:字典对应的数据,是否可用:ok
     * @param tokenUserId  tokenUserId  Required:[false]  Type:[string]  Location:[query]
     */
    'getDictionaries': {url: '/cms/v2/api/common/dictionaries', method: 'get'},

     /*
     * 方法描述:根据url自动下载文件 ,请求方式:POST ,参数:automaticUploadDto,返回值:JsonResult<AutomaticUploadVo>,是否可用:ok
     * @param automaticUploadDto  automaticUploadDto  Required:[true]  Type:[]  Location:[body]
     */
    'automaticUploadFile': {url: '/cms/v2/api/common/downloadUrl', method: 'post'},

     /*
     * 方法描述:文件下载,请求方式:GET,参数:fileName,fileUrl,返回值:void,是否可用:ok
     * @param fileName  fileName  Required:[false]  Type:[string]  Location:[query]
     * @param fileUrl  fileUrl  Required:[false]  Type:[string]  Location:[query]
     */
    'download': {url: '/cms/v2/api/common/download', method: 'get'},

     /*
     * 方法描述:根据事件id、业务分类获取发布记录信息,请求方式:GET 参数:MessageSearchDto,返回值:JsonResult<PageResult<MessagePublishVo>>,是否可用:ok
     * @param pageParam.pageIndex    Required:[false]  Type:[integer]  Location:[query]
     * @param pageParam.pageSize    Required:[false]  Type:[integer]  Location:[query]
     * @param businessId  业务ID  Required:[false]  Type:[integer]  Location:[query]
     * @param businessType  操作历史业务分类(1-工商、2-事件、3人物)  Required:[false]  Type:[integer]  Location:[query]
     */
    'getMessagePublish': {url: '/cms/v2/api/common/getMessagePublish', method: 'get'}

};

 export default api;
